launchProcessSN
unsigned short reserved2; [TOKEN:12948]4 reserved
unsigned short launchBlockID; 2 6 extended block
unsigned short launchFileFlags; 2 12 Finder flags of
application
FSSpecPtr launchAppSpec; 4 16 location of application file
size
typedef LaunchParamBlockRec *LaunchPBPtr;
Notes: In the launchEPBLength field, specify the constant extendedBlockLen to
For compatibility, you should always specify the length value in this field.
The launchFileFlags field contains the Finder flags for the application file. defined by the launchNoFileFlags constant in the launchControlFlags field.
Otherwise, you must get the Finder flags from the application file and set
this field yourself (by using GetFInfo , for example). In the launchControlFlags field, you specify various options that control
how the specified application is launched. See
flags.
You specify the application to launch using the launchAppSpec field of the
complete description of the file system specification record.
the parent directory of the application file.
this application.
The launchPreferredSize and launchMinimumSize fields of the based on their corresponding values in the 'SIZE' resource. These values
may be greater than those specified in the application's 'SIZE' resource
because the returned sizes include any adjustments to the size of the
application's stack. See the Event Manager for information on how the returns values for these fields whether or not the launch was successful.
These values are 0 if an error occurred-for example, if the application file
could not be found.
when the memFullErr result code is returned. This value indicates the
largest partition size currently available for allocation.
The launchAppParameters field specifies the first high-level event sent to function automatically creates and sends an Open Application event to the
this event.) To send a particular high-level event to the launched
application, you can specify a pointer to an application parameters record.
The application parameters record is defined by the data type
You specify the high-level event in the fields theMsgEvent, eventRefCon,
and messageLength. The body of the message immediately follows the events.